package Metadata;

public class TupleOrder {
	public static final int Ascending = 0;

	public static final int Descending = 1;

	public static final int Random = 2;

	public int tupleOrder;

	/**
	 * TupleOrder Constructor
	 */

	public TupleOrder(int _tupleOrder) {
		tupleOrder = _tupleOrder;
	}

	public String toString() {

		switch (tupleOrder) {
		case Ascending:
			return "Ascending";
		case Descending:
			return "Descending";
		case Random:
			return "Random";
		}
		return ("Unexpected TupleOrder " + tupleOrder);
	}

}
